#include<stdio.h>

void makemap(int map[],int sizer, int sizec);
int whereisman(int map[][], int sizer, int sizec, int num);
int isWin(int map[][], int sizer, int sizec);
int isMeet(int map[][], int sizer, int sizec, int direction);
int move(int map[][], int sizer, int sizec, int isMeet);
